package han.chensing.latos.maker;

import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;

// Please note that on macOS your application needs to be started with the -XstartOnFirstThread JVM argument
public class DesktopLauncher {
	public static void main (String[] arg) {
		Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
		//config.setForegroundFPS(60);
		config.setWindowIcon(
				"icon/icon512.png",
				"icon/icon256.png",
				"icon/icon128.png",
				"icon/icon64.png",
				"icon/icon48.png",
				"icon/icon32.png",
				"icon/icon16.png"
		);
		config.setIdleFPS(10);
		config.setMaximized(true);
		config.setWindowedMode((int) (V.WIDTH/2f), (int) (V.HEIGHT/2f));
		//config.setBackBufferConfig(1,1,1,1,1,1,2);
		config.setTitle("LatosMaker");
		new Lwjgl3Application(new GameMain(), config);
	}
}
